// 品牌服务层
app.service('brandService',function($http){
	this.findPage = function(page,rows){
		return $http.get('../brand/findPage.do?page='+page+'&rows='+rows);
	}
	
	this.save = function(entity){
		return $http.post('../brand/save.do',entity);
	}
	
	this.edit = function(entity){
		return $http.post('../brand/edit.do',entity);
	}
	
	this.findOne = function(id){
		return $http.get('../brand/findOne.do?id='+id);
	}
	
	this.del = function(selectIds){
		return $http.get('../brand/del.do?ids='+selectIds);
	}
})